Use this procedure to run an API script.
-
On the Cobra Command line, enter the following:
Cobra.Api.exe script:<fully qualified path of the script file>
Note: You must indicate the fully qualified path of the script file in addition to its filename. An additional parameter of user:<userid/pwd> for explicit user login can be included. This setting will override the server's authentication setting.user:<userid/pwd> .
Example:
Cobra.Api.exe script:C:\Cobra8.x\Samples\batch.txt
user:EPM/Deltek